import http from '@/utils/http'

// 订单结算
export const getCheckInfoAPI = () =>{
    return http({
        method:'GET',
        url:'/member/order/pre'
    })
}

// 创建订单
export const createOrderAPI = (data) =>{
    return http({
        method:'POST',
        url:'/member/order',
        data
    })
}